package com.example.comsumer.bean;

import com.wr.api.BInterface;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

/**
 * @author 王瑞
 * @description: TODO
 * @date 2020/4/16  10:54
 */
@Component
public class ComsumerServiceForProB {

    @Reference
    private BInterface bInterface;

    public String comsumerServiceMethod(String name){
        String s = bInterface.sayHello_B(name);

        return s;
    }
}
